/*
* CSS Definitionen für Mediaqueries
* 
* @Theme Name: Piratenkleider
* @Theme URI: https://github.com/xwolfde/Piratenkleider
* @Description: Allgemeines Wordpress Theme für Webauftritte der Piratenpartei
* @Author: Wolfgang Wiese (xwolf)
* @Author URI: http://www.xwolf.de 
*/


@media only screen and (max-width: 767px) {
  .logo {
    max-width: 300px;
    top: 0px;
  }
   .logo img {
      margin: 0 auto;
      display: block;
    }
   .sticker {
        display: none;
    }  
    .nav-top {
        width: 200px;
        right: 0px;        
    }
 .symbolbild {
        height: 240px;  
        overflow: hidden;
   }   

   .teaserlinks .symbol:before {
       display: none;
   }
  
   .teaserlinks ul li a {
       padding-left: 10px;
   }
   .nav-main ul.menu li a {
       padding: 12px 5px 10px;
   }

}



@media only screen and (max-width: 600px) {
    .header {
        display: block;
        height: auto;
        padding: 0;
        width: 100%;
        position: relative;
    }
    .header .branding {
        display: block;
        width: 100%;    
        margin: 0 auto;
        position: relative;
        height: auto;        
        padding: 10px;
        text-align: center; 
    }

  .logo {
        margin: 0 auto;
  }
   .logo img {
      display: block;
      width: 100%;
      height: auto; 
    }
    .sticker {
        display: none;
    }      
    .teaser {
        display: none;        
    }
    .nav-top {        
        display: block;
         position: relative;
         margin: 0;
         padding: 0;
         width: auto;
         min-width: 300px;
         clear: both;
         text-align: center;
    }
    
    .nav-top form.searchform {
        clear: both;
        float: none;
        display: block;     
        width: 250px;
        background: white;
        margin: 5px auto;
        position: relative;     
    }
   
    .nav-top .searchform input#s {       
        line-height: 1.2em;
        width: 15em;        
        float: left;
        
    }
   .nav-top form.searchform .searchsubmit {
        position: relative;       
        width: auto;
        float: left;
        text-indent: 0;
        background: #2D7DC5;
        height: inherit;
        line-height: 1.2em;
        overflow: none;
        height: 1.4em;
     }
    
    .nav-top div.menu-header {
        float: none;
        display: inline-block;
        position: relative;
        text-align: center;   
    }
    .nav-top div.menu-header ul.menu li a {
        line-height: 22px;
        padding: 0 5px;
        background: none;
        border: none;
        box-shadow: none;
        text-decoration: underline;
        color: black;
        border-radius: none;
        text-shadow: 0 -1px 0 #EEEEEE;
    }
   
    .nav-main {
        display: block;
        width: 100%;   
        position: relative;     
        max-width: 100%;
        margin: 0;
        padding: 0; 
    }
    .nav-main ul.menu {
        float: none;  
    }
    
 .skiplinks li {
    list-style: none;
    width: 100%; 
 }
 .skiplinks li a {
      position: absolute;
      display: block;
        position: static;
        width: 100%;
        display: block;
        border: 0px solid;
        background: #2d7dc5;
        color: white;
        outline: 0px;
        text-align: center;
       padding: 5px 18px;
    margin-bottom: 2px;
    
    background: #2d7dc5; 
    color: white;
    border: 1px solid #2d7dc5;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #4e96d7;
    border-bottom: 1px solid #1a4872;
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    text-shadow: 0 -1px 0 #112e48;
    background-color: #2d7dc5;
    background-image: -moz-linear-gradient(top, #2d7dc5, #24639b);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #2d7dc5), color-stop(1, #24639b));
    background-image: linear-gradient(top, #2d7dc5, #24639b);     
 }
 .skiplinks li a:focus, 
 .skiplinks li a:hover {
      background: #24639b;
        color: black; }
    
    
  .symbolbild {
        height: 240px;  
        overflow: hidden;
   }   
   
   .nav-top ul.menu li a {
        padding: 5px 18px;
        margin-bottom: 2px;
        overflow: visible;
        position: relative;
        background: #2d7dc5;
        color: white;
        border: 1px solid #C96A00;
        -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
        -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
        box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
        border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        text-shadow: 0 -1px 0 #C96A00;
        background-color: #ff8800;
       
   }
    .nav-top ul.menu li a:hover {
      background: #24639b;
    }
    .nav-main {
        width: 100%;
        margin: 0;
        float: none;
        clear: both;
    }
  .nav-main ul.menu li a {
    position: absolute;
    float: none;
    display: block;
    position: static;
    width: 100%;
    display: block;
    color: white;
    outline: 0px;
    text-align: center;
    padding: 5px 18px;
    margin-bottom: 2px;

    border: 1px solid #2d7dc5;
    text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #4e96d7;
    border-bottom: 1px solid #1a4872;
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    text-shadow: 0 -1px 0 #112e48;
    background-color: #2d7dc5;
    background-image: -moz-linear-gradient(top, #2d7dc5, #24639b);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #2d7dc5), color-stop(1, #24639b));
    background-image: linear-gradient(top, #2d7dc5, #24639b);
  }

  .nav-main ul.menu li a:hover {
      background: #4e96d7;
    }
 .nav-main ul.menu li a:focus, 
 .nav-main ul.menu li a:hover {
      background: #24639b;
        color: black; 
 }        
        
  .nav-main {
    margin-bottom: 20px; 
  }
  .nav-main ul li {
      float: none;
      width: 100%;
      
  }
  .nav-main ul li ul {
      display: none;
  }    
  .section {
      padding: 0px;
  }
  .content-primary {
      width: 100%;
      float: none;
      min-height: 0;          
  }
   .content-aside {
      width: 100%;
      float: none;
      min-height: 0;          
  } 
  .content-primary .columns {
      float: none;
      clear: both;
  }
  .content-primary .columns .column0,
  .content-primary .columns .column1,
  .content-primary .columns .column2 {
    float: none;
    width: 100%;
    display: block;
    clear: both;
  }
  .content-primary .columns .column2:before {
	content: "";
	display: block;
	border: 0;
	padding: 0;
	margin-bottom: 15px;
	margin-top: 5px;
	background: url("../images/jolly.png") no-repeat center center;
	height: 26px;
  }
  .content-primary .columns .column2 .post {
    padding-left: 0px;
  }
  
   .content-primary .first-startpage-widget-area,
   .content-primary .second-startpage-widget-area {
    clear: both;
    float: none;
    padding-top: 10px;
    width: 100%;
    display: block;
   }
   .content-aside .flexslider {
    display: none;
   }
   
   .content-primary .skin {
       padding: 0;
   }
   .content-header,
   .content-header-big {
     margin-left: 0px;
    }
   
   .single .post {
       padding: 10px;
       max-width: 100%;
   }
  .post-comments {
     background: url("../images/int/bg-tags.png") repeat fixed -20% top #FF8800;
     padding: 3px;
     margin: 10px 0px;
  }
  .post-comments a {
      color: black;
  }
  .post-comments ol li {
      border: 2px solid rgba(0, 0, 0, 0.2);
  }
   .post-comments ol li .comment-details {
    color: #222222;
    float: none;
    width: auto;
    font-size: 1em;
    font-weight: bold;
    padding-right: 2%;
    text-align: left;
    max-width: none;
    min-height: 50px;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.2);
 }
 .post-comments ol li .comment-body {
    float: none;
    width: auto;
    background: white;
    padding: 5px;
 }
 .post-comments ol li .reply {
     display: none;
 }

.footer .first-footer-widget-area,
.footer .second-footer-widget-area {
    clear: both;
    float: none;
    padding-top: 10px;
    width: 100%;
    display: block;
}
   
    .footer .first-footer-widget-area .skin {
	padding-bottom: 0px;
    }

    .footer .second-footer-widget-area {
	padding-top: 0px;
    }
    .footer .second-footer-widget-area .skin {
	padding-top: 0px;
    }
 
    #socialmedia_iconbar {
         position: relative;
         display: block;
         top: inherit;
         left: inherit;
         width: auto;
         background: black;
         border-radius: 3px ; 
         z-index: 10 ;
         padding: 2px;
         margin: 0px;
         text-align: center;
     }
    .home #socialmedia_iconbar {
         top: inherit;
     }
    #socialmedia_iconbar ul.socialmedia {
    list-style: none;
    }
    #socialmedia_iconbar ul.socialmedia li {
        width: 34px;
    }
}
